"""
"The contents of this file are subject to the Mozilla Public License
Version 1.1 (the "License"); you may not use this file except in
compliance with the License. You may obtain a copy of the License at
http://www.mozilla.org/MPL/

Software distributed under the License is distributed on an "AS IS"
basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
License for the specific language governing rights and limitations
under the License.

The Original Code is rpg-textengine (http://code.google.com/p/rpg-textengine/).

The Initial Developer of the Original Code is Devin Jeanpierre (jeanpierreda@gmail.com).

Contributor(s): 
(none)
."
"""
#This is IO.py
#This is the IO module.
#Anything in here can be changed to match a new output/input method
#For instance, it SHOULD be possible to use any interface, ranging from SDL, to GTK, to Ncurses, all the way to a console (the default).
#Ideally, several interfaces could be provided by me. Me, the designer.

#Combat Section
def WriteHitEnemy(Damage, Enemy=""):
    print "You hit %s for %s damage" % Enemy, str(Damage)

def WriteHitByEnemy(Damage, Enemy=""):
    if Enemy == "":
        print "You have been hit for %s damage" % str(Damage)
    else:
        print "%s has hit you for %s damage" % Enemy, str(Damage)


#Other
def WriteOther(Statement):
    print Statement
